package reflect;

import reflect.annotation.AutoRunClass;
import reflect.annotation.AutoRunMethod;

@AutoRunClass
public class Student {
    @AutoRunMethod(3)
    public void study(){
        System.out.println("学生:good good study,day day up!");
    }
    @AutoRunMethod
    public void sleep(){
        System.out.println("学生:睡觉");
    }

    public void playGame(){
        System.out.println("学生:玩游戏");
    }
}
